import 'package:bxultimate/data/request/organization_request.dart';
import 'package:get/get.dart';

import 'state.dart';

class OrganizationAnnouncementDetailController extends GetxController {
  final OrganizationAnnouncementDetailState state =
      OrganizationAnnouncementDetailState();

  @override
  Future<void> onInit() async {
    // TODO: implement onInit
    super.onInit();
    state.info = await OrganizationRequest.getAnnouncementDetail(Get.arguments);
  }
}
